package com.ld.security.auth.common.sys.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ld.security.common.core.base.column.ListJson;
import com.ld.security.common.mybatis.anno.SqlKey;
import com.ld.security.common.mybatis.base.entity.SuperEntity;
import com.ld.security.common.mybatis.constant.SqlCondition;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@TableName("sys_role")
@ApiModel("角色")
@Data
public class SysRoleEntity  extends SuperEntity

{


  @ApiModelProperty("摘要")
  @SqlKey(SqlCondition.like)
    private String content;




  @ApiModelProperty("名称")
  @SqlKey(SqlCondition.like)
    private String label;



  @ApiModelProperty("权限集合")

    private ListJson permissionIds;


  @ApiModelProperty("编码")
  @SqlKey(SqlCondition.eq)
    private String code;



        }
